import type {novelDataface,get_books_total_inter} from "../../utils/home"
import request from '../utlis/index';

// 小说内容接口
export const novelData = (params:novelDataface) => request.get('/api/get_data_by_page/?'+`page=${params.page}&size=${params.size}`)
// 女频推荐
export const Female_frequency = () =>request.get("/api/get_book_effect/")
// 小说章节请求
export const get_books_total = (params:get_books_total_inter)=>request.get("/api/get_books_total?"+`id=${params.id}`)
// 小说内容接口
export const get_books_content = (params:get_books_total_inter)=>request.get("/api/get_reader_con?"+`id=${params.id}`)


// 音乐接口